home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / wnode10.zip / WNODE.DOC < prev    next >
Text File  |  1992-06-08  |  3KB  |  61 lines

  1.  
  2.          WHICH NODE 1.0 - Copyright (c) 1992 By: Roel Sarceno
  3.               of Video ViSion BBS (916) 682-1655
  4.  
  5.  
  6.   The reason why I wrote WHICH NODE (WNODE.EXE) is to determine which node
  7.   called the batch file.  Most of the shareware door program, you have to
  8.   specify /B for lock baud rate in the command line.  This could be a big
  9.   problem if node1 has LOCK DTE of 19200, node2 has LOCK DTE of 2400 and
  10.   node3 is not configured for LOCK DTE using one batch file.
  11.  
  12.   WNODE.EXE, will determine (as fast as possible) which is the current
  13.   node number by reading DOOR.SYS or the environment setting. The syntax
  14.   for WHICH NODE is  WNODE {E:(environment) | F:(filename)}
  15.  
  16.   Eg: Using DOOR.SYS (DOOR.BAT)  | Eg: Using Environment (DOOR1.BAT)
  17.                                  |
  18.   @echo off                     | @echo off
  19.   wnode F:DOOR.SYS               | wnode E:WCNODEID
  20.   if errorlevel 3 goto node3     | if errorlevel 3 goto node3
  21.   if errorlevel 2 goto node2     | if errorlevel 2 goto node2
  22.   if errorlevel 1 goto node1     | if errorlevel 1 goto node1
  23.   Echo "Error read file"         | Echo "Environment not set"
  24.   goto exitnode                  | goto exitnode
  25.                        |
  26.   :node3                         | :node3
  27.   program.exe                    | program.exe
  28.   goto exitnode                  | goto exitnode
  29.                        |
  30.   :node2                         | :node2
  31.   program.exe /B2400             | program.exe /B2400
  32.   goto exitnode                  | goto exitnode
  33.                        |
  34.   :node1                         | :node1
  35.   program.exe /19200             | program.exe /19200
  36.   goto exitnode                  | goto exitnode
  37.   :exitnode                      | :exitnode
  38.  
  39.  
  40.   WHICH NODE 1.0 SUPPORTED FILES
  41.   ------------------------------
  42.   CALLINFO.DAT
  43.   DOOR.SYS
  44.  
  45.  
  46.  
  47.   DISCLAIMER - I do not warrant that the functions of the software will
  48.   meet your specific requirements or WHICH NODE operation will be error-free
  49.   or uninterrupted.  I have endeavored to minimize defects and errors on
  50.   WHICH NODE.  However, You (the user) assume the risk of any damage or loss
  51.   from it's use.
  52.  
  53.    If you experience any problems or for latest update on WHICH NODE call:
  54.  
  55.                              Video ViSion BBS
  56.                             THE GRAPHIC LIBRARY
  57.                           (916) 682-1655 / 24 Hrs
  58.                           300-1200-2400-9600-19200
  59.  
  60. ==============================================================================
  61.